const Mock = require('mockjs')

const { list } = Mock.mock({
  "list|10-40": [
    {
      id: "@id",
      img: "@zip",
      name: "@cname",
      city: /(广东)|(重庆)|(上海)|(北京)|(江苏)/,
      city1: /(深圳)|(滁州)|(苏州)|(成都)|(大理)|(西藏)/,
      city2: /(天长市)|(奉贤区)|(黄浦区)/,
      img1: "@image(100x100,@color)",
      "money|100-30000": 1,
      title: "@ctitle(3)",
      word: "@ctitle(10)",
      time: "@date()",
      "ares|80-400": 1,
      "price|1-50": 1,
      company: "@name",
      type: /(未开团)|(已开团)/,
      citys: /(审核)|(待审核)/,
      screen: /(直播中)|(已结束)/,
      one: /(true)|(false)/,
      house: /(二手房出租)|(有房出租)|(我想买个房)|(我想租个房)/,
      borker: /(在职)|(离职)/,
      open: /(开启)|(关闭)/,
      phone: /^(?:(?:\+|00)86)?1\d{10}$/,
      "views|1-1000": 1,
      "pay|1-500": 1,
      "give|1-2000": 1,
      "place|1-100": 1,
      site: "@county(true)",
      cityone: /(区域)|(附近)|(地铁)|(上海)|(北京)|(江苏)/,
      senscs: /(东)|(南)|(西)|(北)|(南北)/,
      housescreen: /(新房)|(二手房)|(1室)|(2室)|(3室)|(四室)|(不限)/,
    }]
})

module.exports = list